package com.imyours.net.result;

import java.util.List;

import com.imyours.model.Team;

public class FriendListResult extends ExecuteResult {

	private List<Team> teams = null;

	public List<Team> getTeams() {
		return teams;
	}

	public void setTeams(List<Team> teams) {
		this.teams = teams;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(super.toString());
		sb.append("\nteams:\n");
		if (teams != null) {
			for (Team t : this.teams) {
				sb.append("\t").append(t).append("\n");
			}
		}
		return sb.toString();
	}
}
